Parent.prototype.say = 'hello'
function Parent() {
  this.name = 'Tom'
  this.like = ['running', 'swimming']
}

function Child() {
  Parent.call(this)
  // this.name = 'Tom'
  // this.like = ['running', 'swimming']
  this.age = 18
}

let c = new Child()
let c2 = new Child()

console.log(c.name);


